package com.home.entity;

import lombok.*;

import java.util.Date;
import javax.persistence.*;
@Builder(toBuilder = true)
@AllArgsConstructor(access = AccessLevel.PACKAGE)
@NoArgsConstructor
@Getter
@Setter
@Table(name = "policy_site_config")
public class PolicySiteConfig {
    /**
     * id
     */
    @Id
    private Long id;

    /**
     * 归口部门
     */
    @Column(name = "news_dept")
    private String newsDept;

    /**
     * 类型
     */
    @Column(name = "news_type_name")
    private String newsTypeName;

    /**
     * 站点地址
     */
    @Column(name = "site_url")
    private String siteUrl;

    /**
     * 级别
     */
    @Column(name = "news_level")
    private String newsLevel;

    /**
     * 抓取时间
     */
    @Column(name = "fetch_time")
    private Date fetchTime;

    /**
     * 站点类型
     */
    @Column(name = "site_type")
    private String siteType;
    @Column(name = "content_selector")
    private String contentSelector;

    /**
     * 站点状态 0异常 1正常
     */
    private Integer status;


}